package org.panxiong.openapi.model;

import java.io.Serializable;
import java.util.List;

/**
 * 对象模型
 */
public class ClassModel implements Serializable {

    // 类名称 @Controller/@RestController
    private String name;

    // 类映射信息
    private MappingMode mapping;

    // 方法信息
    private List<MethodModel> methodList;

    private Boolean isRestController;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public MappingMode getMapping() {
        return mapping;
    }

    public void setMapping(MappingMode mapping) {
        this.mapping = mapping;
    }

    public List<MethodModel> getMethodList() {
        return methodList;
    }

    public void setMethodList(List<MethodModel> methodList) {
        this.methodList = methodList;
    }

    public Boolean getRestController() {
        return isRestController;
    }

    public void setRestController(Boolean restController) {
        isRestController = restController;
    }
}
